package com.jet.sms.remote.member;

import com.jet.core.result.ResultJson;
import com.jet.sms.remote.member.vo.MemberInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author dcl
 * @since 2025/2/21 18:20
 */
@FeignClient(contextId = "SmsMemberRemote", value = "mammon-merchant", fallbackFactory = SmsMemberRemoteFallback.class)
public interface SmsMemberRemoteFeign {

    @GetMapping("/inner/member")
    ResultJson<List<MemberInfoVo>> getListByMemberIds(@RequestParam long merchantNo,
                                                      @RequestParam List<String> memberIds);
}
